package blackstar.agent.web;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import blackstar.agent.AgentConfig;

/**
 * @author RayWoo (ayufox@gmail.com)
 *
 */
public class IndexServlet extends HttpServlet
{
	protected void service(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException
	{
		response.sendRedirect(AgentConfig.getProperty("web.welcomefile"));
	}
}
